package com.chance.cc.crawler.prod.command.schedule.news.bilibili;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.realtime.BiliBiliRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.trace.BiliBiliCommentTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.trace.BiliBiliTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2021-04-10 12:17:19
 * @email okprog@sina.com
 */
public class BiliBiliCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        publicCrawlerScheduleJob(BiliBiliRealtimeCrawlerSchedulerJob.crawlerScheduler());

        publicCrawlerScheduleJob(BiliBiliTraceCrawlerSchedulerJob.crawlerScheduler());

        publicCrawlerScheduleJob(BiliBiliCommentTraceCrawlerSchedulerJob.crawlerScheduler());
    }

    public static void publicCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_10);
    }
}
